package com.bluestone.interceptor;

import com.bluestone.ActionInvocation;

public interface PreResultListener {
    /**
     * This callback method will be called after the {@link com.bluestone.ActionScript} execution and
     * before the {@link com.opensymphony.xwork2.Result} execution.
     *
     * @param invocation  the action invocation
     * @param resultCode  the result code returned by the action (eg. <code>success</code>).
     */
    void beforeResult(ActionInvocation invocation, String resultCode);
}
